<template>
  <div class="question">
    <section>
      <p>问题分类</p>
      <div @click="goChat"><i class="iconfont">&#xec2e;</i><b>联系客服</b></div>
    </section>

    <ul>
      <li><b>常见问题</b><i class="iconfont">&#xe6a3;</i></li>
      <li><b>配送问题</b><i class="iconfont">&#xe6a3;</i></li>
      <li><b>售后问题</b><i class="iconfont">&#xe6a3;</i></li>
      <li><b>优惠问题</b><i class="iconfont">&#xe6a3;</i></li>
      <li><b>秒杀问题</b><i class="iconfont">&#xe6a3;</i></li>
      <li><b>支付问题</b><i class="iconfont">&#xe6a3;</i></li>
      <li><b>会员问题</b><i class="iconfont">&#xe6a3;</i></li>
      <li><b>活动问题</b><i class="iconfont">&#xe6a3;</i></li>
      <li><b>其他问题</b><i class="iconfont">&#xe6a3;</i></li>
    </ul>
  </div>
</template>

<script>
export default {
  name: 'question',
  mounted: {
    goChat() {
      this.$router.push({ path: '/chat' })
    },
  },
}
</script>

<style lang="scss" scoped>
@font-face {
  font-family: "iconfont"; /* Project id 3284892 */
  src: url("//at.alicdn.com/t/font_3284892_474j9qeppa3.woff2?t=1648707439233")
      format("woff2"),
    url("//at.alicdn.com/t/font_3284892_474j9qeppa3.woff?t=1648707439233")
      format("woff"),
    url("//at.alicdn.com/t/font_3284892_474j9qeppa3.ttf?t=1648707439233")
      format("truetype");
}
.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}
.question {
  > section {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    > p {
        display: block;
        height: 50px;
        width: 80px;
        line-height: 80px;
        color: rgb(236, 200, 169);
        font-size: 18px;
      }
    > div {
      width: 80px;
      height: 50px;

      display: flex;
      flex-direction: column;
      align-items: center;
      > i {
        font-size: 30px;
      }

    }
  }
  ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    li {
      width: 90%;
      height: 50px;
      margin: 3px auto;
      padding: 0 30px;
      box-sizing: border-box;
      background-color: #fff;
      display: flex;
      justify-content: space-between;
      border: 1px solid rgb(214, 212, 212);
      //   border-bottom: 1px solid rgb(214, 212, 212);
      > b {
        display: block;
        font-size: 15px;
        font-weight: 400;
        height: 50px;
        line-height: 50px;
      }
      > i {
        font-size: 15px;
        height: 50px;
        line-height: 50px;
      }
    }
  }
}
</style>
